package com.example.springloud.fallback;

import com.example.springloud.client.HystrixClient;
import org.springframework.stereotype.Component;

/**
 * @author chensixiang chensixiang1234@gmail.com
 */
@Component
public class HystrixFallBack implements HystrixClient {
    public String paymentInfo_OK(Integer id) {
        return "paymentInfo_OK fall_back";
    }

    public String paymentInfo_Timeout(Integer id) {
        return "paymentInfo_Timeout fall_back";
    }
}
